package com.lbd.system.bean;

import com.lbd.base.bean.AbstractEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Lob;
import java.util.Date;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@DynamicUpdate
@Entity
public class Agreement extends AbstractEntity {
    //标题
    private String title;
    //类型
    private String category;
    //描述
    private String description;
    //发表时间
    private Date publishTime;
    //状态
    private String state;
    //内容
    @Lob
    private String content;
}
